package com.av.bcacc.javaapi.thread.productor;

public class Test {
    public static void main(String[] args) {
        Cooker cooker=new Cooker();
        cooker.setName("厨师线程");
        Foodie foodie=new Foodie();
        foodie.setName("吃货线程");
        cooker.start();
        foodie.start();
    }
}
